package server;

import java.util.HashMap;
import java.util.Map;

/**
 * @author songyi
 * @date 2020/7/1 0001 1:04
 * @description 用于封装server.xml中host标签属性，以及MappedContext
 */
public class MappedHost {

    private String name;
    private String appBase;
    Map<String, MappedContext> contextMap = new HashMap<>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAppBase() {
        return appBase;
    }

    public void setAppBase(String appBase) {
        this.appBase = appBase;
    }

    public Map<String, MappedContext> getContextMap() {
        return contextMap;
    }

    public void setContextMap(Map<String, MappedContext> contextMap) {
        this.contextMap = contextMap;
    }
}
